package encapsulation;

public class PersonTest {
    public static void main(String[] args) {
        Person p1=new Person();
        p1.setAge(-30);
        System.out.println(p1.getAge());
    }
}
